package cn.edu.scau.cmi.duke.adapter;

import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;

public class Student {
	     private final SimpleIntegerProperty id = new SimpleIntegerProperty(); 
	     private final SimpleStringProperty name = new SimpleStringProperty("");
	     
	     public int getId() {
	         return id.get();
	     }

	     public SimpleIntegerProperty idProperty() {
	         return id;
	     }

	     public void setId(int id) {
	         this.id.set(id);
	     }
	     
	     public String getName() {
	         return name.get();
	     }

	     public SimpleStringProperty nameProperty() {
	         return name;
	     }

	     public void setName(String name) {
	         this.name.set(name);
	     }

}
